package com.lm.ledger.dao;

import java.sql.Connection;
import java.util.List;

import com.lm.ledger.exception.LedgerException;
import com.lm.ledger.utill.Account;
import com.lm.ledger.utill.User;

public interface LedgerDao {

	public void saveNewTrx(Account acc);
	public void updateTrx(Account account);
	public List searchList(Account acc, Double userId, String from);
	public Account getAccountForFormId(String formId);
	public List getAllTrxs(Double userId);
	public List searchApproveTrx(Double userId);
	public void approveTrx(Account account);
	public List getLocations(Double userId) ;
	public User userDetail(String name);
	public void rejectTrx(String formId);
	public List searchAllUserTrx(Double userId);
}
